package com.om.base;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(FIELD)
@Retention(RUNTIME)
public @interface Field {
	String  name();
	boolean required() default false;
	boolean unique() default false;
	boolean readOnly() default false;
	String  permissions() default "";
	boolean isPrimaryKey() default false;
	boolean autoIncrement() default false;
}
